const Post = require('../models/Post');
const Comment = require('../models/Comment');

const PostService = {
    getCommentByObjectID: function(ObjectID) {
        Comment.find({parent_objectID:ObjectID}, (err, doc) => {
            return doc;
        })
    }
}

module.exports = PostService;